home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / video / simpleVideo / lib / svPriv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.9 KB  |  68 lines

  1. /*
  2.  * Copyright (c) 1994, Silicon Graphics, Inc.
  3.  *
  4.  * Permission to use, copy, modify, distribute, and sell this software and
  5.  * its documentation for any purpose is hereby granted without fee, provided
  6.  * that the name of Silicon Graphics may not be used in any advertising or
  7.  * publicity relating to the software without the specific, prior written
  8.  * permission of Silicon Graphics.
  9.  *
  10.  * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  11.  * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  12.  * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  13.  *
  14.  * IN NO EVENT SHALL SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
  15.  * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
  16.  * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE
  17.  * POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN
  18.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19.  */
  20. /* $Id: svPriv.h,v 1.2 1994/07/16 01:47:49 dpb Exp $ */
  21.  
  22. #ifndef _SV_PRIV_H
  23. #define _SV_PRIV_H
  24.  
  25. /*
  26.  * Connection state info;
  27.  */
  28.  
  29. typedef struct {
  30.     int           vlInitialized;
  31.     VLServer      svr;
  32.     VLDev         dev;
  33.     int           input;
  34.     int           output;
  35.     VLUsageType   pathUsageMode;
  36.     VLUsageType   controlUsageMode;
  37.     int           frameCount;
  38.     int       packing;
  39.     int          saveImagesCompressed;
  40.     int          transferMode;
  41.     int           transferCountRemaining;
  42.     int           freeFrameNextXfer;
  43.     int          recoverFromPreemption;
  44.     int           deviceWidthFactor;
  45.     int           deviceHeightFactor;
  46.  
  47.     int           saved_src;
  48.     int           saved_drn;
  49.     VLNode        saved_buffer_node;
  50.     VLPath        saved_path;
  51.     VLBuffer      saved_buffer;
  52.     int          transferSize;
  53.     int       transferring;
  54.  
  55.     SVSetupPathCallback setupPathCallback;
  56. } ConnectionState;
  57.  
  58. /*
  59.  * prototypes;
  60.  */
  61.  
  62. ConnectionState *
  63. _findContext(void);
  64.  
  65.  
  66. #endif /* _SV_PRIV_H */
  67.  
  68.